<?php

class Payment {

	private $usid;
	private $userId;
	private $parts;

	public function __construct() {
		$this->parts = array ();
	}

	public function addPart(PaymentPart $part) {
		$this->parts [] = $part;
	}

	public function getParts() {
		return $this->parts;
	}

	public function setParts($parts) {
		$this->parts = $parts;
	}
	/**
	 * @param $userId the $userId to set
	 */
	function setUserId($userId) {
		$this->userId = $userId;
	}

	/**
	 * @param $usid the $usid to set
	 */
	function setUsid($usid) {
		$this->usid = $usid;
	}

	/**
	 * @return the $userId
	 */
	function getUserId() {
		return $this->userId;
	}

	/**
	 * @return the $usid
	 */
	function getUsid() {
		return $this->usid;
	}

}

?>